<!-- 作案特点(龙文友) -->
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	template="/layout/page/form/page-fieldset-template.xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:sinox="http://www.sinosoft.com.cn/sinox"
	>
	
	<ui:param name="compId" value="#{commonContentViewBean.id}" />
	<ui:param name="compTitle" value="作案特点" />
	<ui:param name="compToggleable" value="true" />
	<ui:param name="zatd" value="#{commonContentViewBean}"/>
	<ui:param name="pvb" value="#{commonContentViewBean.parent}"/>
	
	<ui:define name="compHiddens">
	 	
	</ui:define>
	
	<ui:define name="compContent">
		<ui:decorate template="/layout/input/editable-template.xhtml">
			<!-- 第一行 -->
			 <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="caseid" />
				<ui:param name="compBean1Lable" value="案件编号" />
				
				<ui:define name="compBean1Content">
					 <h:inputText id="caseid" value="#{zatd.fields.caseno}" />
				</ui:define>
			</ui:decorate>
			
			<!-- 第二行 -->
			 <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="zatd" />
				<ui:param name="compBean1Lable" value="作案特点" />
				
				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="zatd" codeSetId="id_c_zatd"
						value="#{zatd.fields.zatd}"
						formId="#{commonContentViewBean.id}_form" />
				</ui:define>
			</ui:decorate>
			
			<!-- 第三行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single-all" />
				<ui:param name="compBean1Id" value="beizhu" />
				<ui:param name="compBean1Lable" value="备注" />
				
				<ui:define name="compBean1Content">
					<h:inputTextarea
						 style="width:100%;height:100px;overflow:auto;"
						 id="beizhu" effectDuration="400"
						 value="#{zatd.fields.beizhu}" />
				</ui:define>
			</ui:decorate>
		</ui:decorate>
		
	</ui:define>



	<ui:define name="compButtons">
		<p:commandButton
			 title="保存"
				onstart="return SinoPortal.Validation.validateForm('#{compId}_form')"
				onclick="#{commonContentViewBean.id}_dialog.hide();"
				image="./img/icons/add.png" value="保存" style="margin:5px;">
				<h:inputHidden value="#{commonContentViewBean.id}" />
				<h:inputHidden value="#{pvb.id}" />
			</p:commandButton>
		
			<p:commandButton
			 	title="重置"
				onstart="this.disabled=true"
				onclick="#{commonContentViewBean.id}_dialog.hide();"
				oncomplete="btnAction('#{pvb.id}','作案特点','620','500','icons/cog_add.png','add','duty-case-scene','case_i_peculiarity');"
				image="./img/icons/add.png" value="重置" style="margin:5px;">
				
			</p:commandButton>

		<p:commandButton
		 title="取消" onstart="this.disabled=true"
			onclick="#{commonContentViewBean.id}_dialog.hide();"
			image="ui-icon-disk" value="取消">
		</p:commandButton>
	</ui:define>
</ui:composition>
